package org.easy.byteasr;

import org.easy.byteasr.dto.ByteAudioInfoResponse;
import okhttp3.Response;
import okhttp3.WebSocket;

public interface ByteAsrWebSocketListener {

    void onOpen(WebSocket webSocket, Response response);

    void onMessage(WebSocket webSocket, ByteAudioInfoResponse byteAudioInfoResponse);

    void onClose(WebSocket webSocket, int code, String reason);

}
